# install necessary package
sudo yum install -y zsh
sudo yum install -y wget
sudo yum groupinstall -y "Development Tools"
sudo yum install -y clang
sudo yum install -y lldb
# config zsh by using oh-my-zsh
cd zshconfig
sh install.sh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
cp .zshrc ~/.zshrc
# config vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
cd ../vimconfig
cp .vimrc ~/.vimrc
vim -c "source config.vim" 
# start zsh and enjoy it~
zsh
